def print_line(num,lengt):
    for i in range(num):
        print('-'*lengt)


print(print_line(3,40))

def average_num(num1,num2,num3):
    sum=num1+num2+num3
    return sum/3


print(average_num(10, 20, 30))


